import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: "/",
    component: () => import("@/layouts/LayoutHome.vue"),
    children: [
      {
        path: "/",
        component: () => import("@/views/Home/Index.vue"),
      }
    ]
  },
  {
    path: "/test",
    component: () => import("@/views/Test.vue")
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
